<!DOCTYPE html>
<html lang="en">
<head xmlns:th="http://www.thymeleaf.org">
    <meta charset="UTF-8">
    <title>老师信息</title>
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<div class="container-fluid">
</div>

<table class="table table-striped">
    <thead>
    <tr>
        <th>#</th>
        <th>姓名</th>
        <th>性别</th>
        <th>科目</th>
    </tr>
    </thead>
    <tbody>
    <tr data-th-each="teacher : ${data}">
        <th data-th-text="${teacher.id}"></th>
        <th data-th-text="${teacher.name}"></th>
        <th data-th-text="${teacher.sex}"></th>
        <th data-th-text="${teacher.subject}"></th>
    </tr>
    </tbody>
</table>


<script src="/js/jquery-3.5.1.js"></script>
<script src="/js/bootstrap.min.js"></script>
</body>
</html>